﻿using System;
using System.Collections.Generic;
using Kam.Lagan.Examples.Atm.Contract.Dal;
using Kam.Lagan.Examples.Atm.Contract.Model;
using Kam.Lagan.Examples.Atm.Model;

namespace Kam.Lagan.Examples.Atm.Dal
{
    public class ClientRepository : IRepository<IClient>
    {
        public IList<IClient> Get()
        {
            var clients = new List<IClient>
                              {
                                  new Client(1, "Kam", "Lagan", new DateTime(1900, 02, 15)),
                                  new Client(2, "Darren", "Lagan", new DateTime(1900, 10, 30)),
                                  new Client(3, "Essodamah", "Lagan", new DateTime(1900, 09, 01)),
                                  new Client(4, "Sam", "Lagan", new DateTime(1902, 02, 28)),
                                  new Client(5, "Richard", "Bremner", new DateTime(1900, 10, 26)),
                                  new Client(6, "Alex", "Lee", new DateTime(1900, 05, 03)),
                                  new Client(7, "Paras", "Tanna", new DateTime(1900, 04, 03)),
                                  new Client(8, "Kalam", "Lais", new DateTime(1900, 12, 11))
                              };

            return clients;
        }
    }
}